The Extended Dialog Resource
NEW WITH THE APPEARANCE MANAGER
Use an extended dialog resource with the same resource ID as your dialog resource to provide additional features for your dialog box, including movable modal behavior, theme-compliant backgrounds and controls, and embedding hierarchies. An extended dialog resource is a resource of type'dlgx'
. All extended dialog resources can be marked purgeable, and they must have the same resource ID and be located in the same file as their corresponding dialog resource. Use the function GetNewDialog to create the dialog box defined in the dialog resource and extended dialog resource.Figure 4-2 shows the format of a compiled extended dialog resource.
Figure 4-2 Structure of a compiled extended dialog
('dlgx')
resource
The compiled version of an extended dialog resource contains the following elements:
- Version number. An integer specifying the version of the format of the resource.
- Dialog flags. Constants that specify the dialog box's Appearance features; see "Dialog Feature Flag Constants".